/****************************************************************-*- C++ -*-****
 * Copyright (c) 2022 - 2025 NVIDIA Corporation & Affiliates.                  *
 * All rights reserved.                                                        *
 *                                                                             *
 * This source code and the accompanying materials are made available under    *
 * the terms of the Apache License 2.0 which accompanies this distribution.    *
 ******************************************************************************/

#pragma once

namespace cudaq {

namespace internal {
constexpr const char version[] = "@CUDA_QUANTUM_VERSION@";
constexpr const char fullRepositoryVersion[] =
    "https://github.com/NVIDIA/cuda-quantum @CUDA_QUANTUM_COMMIT_SHA@";
} // namespace internal

/// Get the CUDA-Q version.
inline const char *getVersion() { return internal::version; }

/// Get the CUDA-Q full repository revision info.
inline const char *getFullRepositoryVersion() {
  return internal::fullRepositoryVersion;
}

/// A generic bug report message.
constexpr const char *bugReportMsg =
    "PLEASE submit a bug report to https://github.com/NVIDIA/cuda-quantum and "
    "include the crash backtrace.\n";

} // namespace cudaq
